--TEST--
Check for INI configuration
--FILE--
<?php
echo "Get default configurations:\n";
echo 'pdlogger.enable = ' . ini_get('pdlogger.enable') . "\n";
echo 'pdlogger.format = ' . ini_get('pdlogger.format') . "\n";
echo 'pdlogger.watch = ' . ini_get('pdlogger.watch') . "\n";
echo 'pdlogger.output_dir = ' . (ini_get('pdlogger.output_dir') !== false ? '<empty>' : 'false') . "\n";
echo 'pdlogger.log_ext = ' . (ini_get('pdlogger.log_ext') !== false ? '<empty>' : 'false') . "\n";
echo 'pdlogger.period = ' . ini_get('pdlogger.period') . "\n";

ini_set('pdlogger.enable', 1);
ini_set('pdlogger.format', PDL_FM_XML);
ini_set('pdlogger.watch', PDL_W_ERROR | PDL_W_LOAD);
ini_set('pdlogger.output_dir', '/tmp');
ini_set('pdlogger.log_ext', 'yibn');
ini_set('pdlogger.period', 3600);

echo "\nSet configuration and get it:\n";
echo 'pdlogger.enable = ' . ini_get('pdlogger.enable') . "\n";
echo 'pdlogger.format = ' . ini_get('pdlogger.format') . "\n";
echo 'pdlogger.watch = ' . ini_get('pdlogger.watch') . "\n";
echo 'pdlogger.output_dir = ' . ini_get('pdlogger.output_dir') . "\n";
echo 'pdlogger.log_ext = ' . ini_get('pdlogger.log_ext') . "\n";
echo 'pdlogger.period = ' . ini_get('pdlogger.period');

?>
--EXPECT--
Get default configurations:
pdlogger.enable = 0
pdlogger.format = 4
pdlogger.watch = 31
pdlogger.output_dir = <empty>
pdlogger.log_ext = <empty>
pdlogger.period = 86400

Set configuration and get it:
pdlogger.enable = 1
pdlogger.format = 2
pdlogger.watch = 3
pdlogger.output_dir = /tmp
pdlogger.log_ext = yibn
pdlogger.period = 3600
